<template>
    <div class="gpsBox">
        <div class="bg" :class="`${type && 'bg_' + type}`"></div>
    </div>
</template>

<script>
    export default {
        name: "currentMap",
        props: {
          type: {
              type: Number
          }
        },
        data() {
            return {
                stores: [
                    {
                        title: '高新区'
                    }
                ]
            }
        }
    }
</script>

<style lang="scss" scoped>
    .gpsBox {
        text-align: center;
        .title {
            font-size: 14px;
            color: #ffffff;
            margin-bottom: -5px;
        }
        .bg {
            width: 19px;
            height: 16px;
            margin: 0 auto;
            &.bg_1 {
                background: url("../../assets/img/bigScreenNew/map/min_bg1.png") no-repeat;
            }
            &.bg_2 {
                background: url("../../assets/img/bigScreenNew/map/min_bg2.png") no-repeat;
            }
            &.bg_3 {
                background: url("../../assets/img/bigScreenNew/map/min_bg3.png") no-repeat;
            }
        }

    }
</style>
